<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:107:"D:\development\2C8BF558-3886-40A2-B2B6-E724420FD872\public/../application/index\view\index\usermessage.html";i:1502245555;s:103:"D:\development\2C8BF558-3886-40A2-B2B6-E724420FD872\public/../application/index\view\common\header.html";i:1502067259;}*/ ?>
<!DOCTYPE html>

<html>
	<head>
		<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/index.css">
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/font.css">
<!-- <script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/jquery.cookie.js"></script> -->
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/bootstrap.min.js"></script>
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/index.js"></script>
		<meta charset="utf-8">
		<title>用户信息页面</title>
		<link rel="stylesheet" type="text/css" href="css/index.css"/>
		<style>		  .usermessage{
					    background-color: #ccc;
					  }
					  .usermessage-main{
					    margin: 0 auto;
					    width: 80%;
					    height: 700px;
					    background-color: white;
					    margin-top: 80px;
					  }
					  .usermessage-right{
					    border-style:solid; border-width:1px; border-color:#ccc;
					    width: 500px;
					    height: 600px;
					    margin:0 auto;
					    overflow: auto;
					  }					  
					  .a1{
					      height: 100px;
					      width: 100px;
					      position: relative;
					      left: 30px;
					      top: 30px;
					  }
					  .a2{position: relative;
					      left: 160px;
					      top: 40px;
					  }
					  .a3{position: relative;
					      left: 200px;
					      top: 40px;
					      margin:20px;
					  }
					  .button{
					  	position: relative;
					  	left: 45%;
					  	margin-top:10px;
					  }
					 </style>
	</head>

	<body class="usermessage">

			<div class="usermessage-main">
				<div class="usermessage-right">
					<div class="a1">
						<img src="<?php echo $user['headimgurl']; ?>" width="100px;">
					</div>
					<div class="a2">openId</div>
					<div class="a3"><?php echo $user['openid']; ?></div>
					<div class="a2">昵称</div>
					<div class="a3"><?php echo $user['nickname']; ?></div>
					<div class="a2">性别</div>
					<div class="a3">
						<?php switch($name=$user['sex']): case "0": ?>不详<?php break; case "1": ?>男<?php break; case "2": ?>女<?php break; default: ?>default
                		<?php endswitch; ?>

					</div>
					<div class="a2">城市/省份/国家</div>
					<div class="a3"><?php echo $user['city']; ?> <?php echo $user['province']; ?> <?php echo $user['country']; ?></div>
					<div class="a2">语言</div>
					<div class="a3"><?php echo $user['language']; ?></div>
					<div class="a2">dc分组</div>
					<div class="a3"><?php echo $user['groupid']; ?></div>
					<div class="a2"">标签</div>
					<div class="a3"><?php echo $user['tagid_list']; ?></div>
					<div class="a2">备注</div>
					<div class="a3"><?php echo $user['remark']; ?></div>
					<div class="a2">关注时间</div>
					<div class="a3"><?php echo date('Y-m-d H:i:s', $user['subscribe_time']);?></div>
				</div>
					<a href="user">
					  <button type="button" class="btn btn-primary btn-sm button">返回首页</button>
					</a>
			</div>		 
	</body>
</html>